/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.nanjing.tieba.junit;

import javax.xml.ws.Endpoint;

import org.junit.Test;

import com.fujitsu.nanjing.tieba.webService.HelloService;

/**
 * TestWebService.java
 * 
 * @author Qixiaobo-win8
 */
public class TestWebService {
	@Test
	public void testWebService() {
		System.out.println("web service start");
		HelloService implementor = new HelloService();
		String address = "http://127.0.0.1:8080/services/hello";
		Endpoint.publish(address, implementor);
		System.out.println("web service started");
	}
}
